package com.ly.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class SysMenu {

    private Long menuId;
    private String menuName;
    private Long parentId;
    private Long orderNum;
    private String url;
    private String target;
    private String menuType;
    private String visible;
    private String isRefresh;
    private String perms;
    private String icon;
    private String createBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    private String remark;


    public SysMenu() {
    }

    public SysMenu(Long menuId, String menuName, Long parentId, Long orderNum, String url, String target, String menuType, String visible, String isRefresh, String perms, String icon, String createBy, Date createTime, String updateBy, Date updateTime, String remark) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.parentId = parentId;
        this.orderNum = orderNum;
        this.url = url;
        this.target = target;
        this.menuType = menuType;
        this.visible = visible;
        this.isRefresh = isRefresh;
        this.perms = perms;
        this.icon = icon;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.remark = remark;
    }

    /**
     * 获取
     * @return menuId
     */
    public Long getMenuId() {
        return menuId;
    }

    /**
     * 设置
     * @param menuId
     */
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    /**
     * 获取
     * @return menuName
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 设置
     * @param menuName
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * 获取
     * @return parentId
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取
     * @return orderNum
     */
    public Long getOrderNum() {
        return orderNum;
    }

    /**
     * 设置
     * @param orderNum
     */
    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    /**
     * 获取
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取
     * @return target
     */
    public String getTarget() {
        return target;
    }

    /**
     * 设置
     * @param target
     */
    public void setTarget(String target) {
        this.target = target;
    }

    /**
     * 获取
     * @return menuType
     */
    public String getMenuType() {
        return menuType;
    }

    /**
     * 设置
     * @param menuType
     */
    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    /**
     * 获取
     * @return visible
     */
    public String getVisible() {
        return visible;
    }

    /**
     * 设置
     * @param visible
     */
    public void setVisible(String visible) {
        this.visible = visible;
    }

    /**
     * 获取
     * @return isRefresh
     */
    public String getIsRefresh() {
        return isRefresh;
    }

    /**
     * 设置
     * @param isRefresh
     */
    public void setIsRefresh(String isRefresh) {
        this.isRefresh = isRefresh;
    }

    /**
     * 获取
     * @return perms
     */
    public String getPerms() {
        return perms;
    }

    /**
     * 设置
     * @param perms
     */
    public void setPerms(String perms) {
        this.perms = perms;
    }

    /**
     * 获取
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * 设置
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String toString() {
        return "SysMenu{menuId = " + menuId + ", menuName = " + menuName + ", parentId = " + parentId + ", orderNum = " + orderNum + ", url = " + url + ", target = " + target + ", menuType = " + menuType + ", visible = " + visible + ", isRefresh = " + isRefresh + ", perms = " + perms + ", icon = " + icon + ", createBy = " + createBy + ", createTime = " + createTime + ", updateBy = " + updateBy + ", updateTime = " + updateTime + ", remark = " + remark + "}";
    }
}
